@import "../inc/var";
ul, ol{
	list-style: none;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
	-webkit-padding-start: 0;
}
p,h3{
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
}
body {
	margin: 0;
	color: @dark-color;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
 }
/* 去除按钮、链接中的虚线框 */
a:focus, input[type=button], input[type=submit] {
    outline:none;
}
a:link {
	color: @dark-color;
	text-decoration: none;
}
a:visited {
	color: @dark-color;
	text-decoration: none;
}

a:hover {
	color: @dark-color;
	text-decoration: none;
}

a:active {
	color: @dark-color;
	text-decoration: none;
	outline:none;
}
button,
input,
select,
textarea {
	font-family: inherit; 
	font-size: 100%; 
	margin: 0; 
}

body{
	//width: 1000px;
	margin: 0 auto;
	font-family: "微软雅黑";
	// font-size: 12px;
	background-color: #f5f5f5;
}
a{
	text-decoration: none;
	cursor: pointer;
}
i{
	font-style: normal;
}
@g_blue: #237ded;

// 设置浏览器的滚动条
body::-webkit-scrollbar, 
.m_download::-webkit-scrollbar,
.giftDetScrollBody::-webkit-scrollbar,
.giftListScrollBody::-webkit-scrollbar{
	width:9px;
} 
body::-webkit-scrollbar-button:vertical, 
.m_download::-webkit-scrollbar-button:vertical,
.giftDetScrollBody::-webkit-scrollbar-button:vertical,
.giftListScrollBody::-webkit-scrollbar-button:vertical{
	display:none;
} 
body::-webkit-scrollbar-track-piece, 
.m_download::-webkit-scrollbar-track-piece,
.giftDetScrollBody::-webkit-scrollbar-track-piece,
.giftListScrollBody::-webkit-scrollbar-track-piece{
	background:#f0f0f0;
}
body::-webkit-scrollbar-thumb:vertical, 
.m_download::-webkit-scrollbar-thumb:vertical,
.giftDetScrollBody::-webkit-scrollbar-thumb:vertical,
.giftListScrollBody::-webkit-scrollbar-thumb:vertical{
	background-color:#b0b0b0;
	border-radius:5px
}
body::-webkit-scrollbar-thumb:vertical:hover, 
.m_download::-webkit-scrollbar-thumb:vertical:hover,
.giftDetScrollBody::-webkit-scrollbar-thumb:vertical:hover,
.giftListScrollBody::-webkit-scrollbar-thumb:vertical:hover{
	background-color:#999;
} 

::selection {
    background:none;

}

//单行文本加省略号
.fix_width () {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
// 多行文本加省略号
.fix_height (@num) {
	-webkit-line-clamp: @num;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.clearfix:after{
	visibility: hidden;
	display: block;
	font-size: 0;
	content : ".";
	clear : both;
	height: 0;
	line-height: 0;
	overflow: hidden;
}
.clear {
	dipslay:block!important;
	float:none!important;
	clear:both;
	overflow:hidden;
	width:auto!important;
	height:0;
	margin:0 auto!important;
	padding:0!important;
	font-size:0;
	line-height:0;
}
.ofh{
    white-space:nowrap;
    word-wrap:normal;
    word-break:normal;
    text-overflow:ellipsis;
    -o-text-overflow:ellipsis;
    overflow:hidden
}
